﻿using GrainManage.Data.Pattern;
using GrainManage.Interface;
using GrainManage.Proxy;

namespace GrainManage.Web
{
    public class ObjectFactory
    {
        //代理类
        public static IAccount AccountProxy { get { return new AccountProxy(); } }
        public static IColumn ColumnProxy { get { return new ColumnProxy(); } }
        public static IContact ContactProxy { get { return new ContactProxy(); } }
        public static IDistrict DistrictProxy { get { return new DistrictProxy(); } }
        public static IImage ImageProxy { get { return new ImageProxy(); } }
        public static IPrice PriceProxy { get { return new PriceProxy(); } }
        public static IStatus StatusProxy { get { return new StatusProxy(); } }
        public static ITrade TradeProxy { get { return new TradeProxy(); } }
        public static IType TypeProxy { get { return new TypeProxy(); } }
        public static IWeather WeatherProxy { get { return new WeatherProxy(); } }

        //Pattern
        public static IPattern Filter { get { return new RLikePattern(); } }
    }
}